$OpenBSD: patch-sope-mime_NGMime_common_h,v 1.1 2013/10/19 09:48:24 sebastia Exp $

fix build with libobjc2-1.7

--- sope-mime/NGMime/common.h.orig	Sun Oct 13 16:18:04 2013
+++ sope-mime/NGMime/common.h	Sun Oct 13 16:21:27 2013
@@ -37,7 +37,9 @@
 #include "NGMimeType.h"
 
 #if !GNU_RUNTIME
-#  ifndef sel_eq
+#  if (defined(__GNU_LIBOBJC__) && (__GNU_LIBOBJC__ >= 20100911)) || defined(APPLE_RUNTIME) || defined(__GNUSTEP_RUNTIME__)
+#    define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
+#  else ifndef sel_eq
 #    define sel_eq(__A__, __B__) (__A__==__B__)
 #  endif
 #endif
